import { banner,banner_1,banner_2 } from "@/api";

const state={
    banner:{},
    
};
const getters={

};
const mutations={
    BANNER(state,banner){
        state.banner=banner
    },
   
};
const actions={
    async get_banner({commit}){
        let result =await banner();
        if(result.code==200){
            commit('BANNER',result.data)
        }
    },
};
const modules={

};

export default{
    state,
    getters,
    mutations,
    actions,
    modules
  }